1001 Secrets for Windows NT Registry
(Publisher: 29th Street Press)
Author(s): Tim Daniels
ISBN: 1882419685
Publication Date: 12/01/97

Previous Table of Contents Next


III-151 If you want to change the Administrator e-mail address for your FTP service, change this entry.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\MSFTPSVC\ Parameters

Add the following value under the Parameters key:

Value Name: AdminEmail
Data Type: REG_SZ
Value: Admin@corp.com

The default value is admin@corp.com. Change value to the appropriate name for your site. Restart the service for these changes to take effect.

III-152 Do you want to limit the maximum number of user connections your FTP service allows? These entries give you that control. This registry entry lets you control how many people can access your FTP server at a given time. You can set it to send a message to the clients refused access (MaxClientsMessage).

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\MSFTPSVC\ Parameters

Add the following value under the Parameters key:

Value Name: MaxConnections
Data Type: REG_DWORD
Value: 100,000

This value is the number of clients that can connect to the FTP server at any given time. Restart the service for this value to take effect.

III-153 This entry sends a message you specify when a user connection to your FTP server is refused.

Value Name: MaxClientsMessage
Data Type: REG_SZ
Value: < string value >

The message in the string is sent when the value set in MaxConnections is exceeded. Restart the service for this value to take effect.

III-154 You have many FTP users who have user accounts from one particular domain and who continually forget to add the < domainname > parameter in front of their user names when they try to log on. To change the default logon domain so that they’ll log on even when they forget to specify the domain name, change this registry entry.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\MSFTPSVC\Parameters

Add the following value under the Parameters key:

Value Name: DefaultLogonDomain
Data Type: REG_SZ
Value: < domain name >

Restart the service for this value to take effect.

III-155To gain a little more control over the log files generated by the FTP service, change this registry entry — it lets you control the duration of a log file.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\MSFTPSVC\Parameters

Add the following value under the Parameters key:

Value Name: LogFilePeriod
Data Type: REG_DWORD
Value: 1

The valid values for LogFilePeriod are as follows:

0  Never open a new log file. The log file is governed by LogFileTruncateSize.
1  Open a new log file every day.
2  Open a new log file every week.
3  Open a new log file every month.

The default is 0. Restart the service for this value to take effect.

III-156 This entry sets the maximum size in bytes your FTP log file can be before a new file is opened by the FTP logging module.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\MSFTPSVC\Parameters

Add the following value under the Parameters key:

Value Name: LogFileTruncateSize
Data Type: REG_DWORD
Value: 1388000

The default value is 1,388,000. A value of 0 means “do not truncate.”


Previous Table of Contents Next